﻿using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using System.Text;

namespace MO
{
    public class EntityDefine
    {
        public string Code;
        public string Name;
        public string Description;
        public string Parent;
        public bool IsEnum;
        public EntityDefine(DataRow row)
        {
            this.Code = row["ED_Code"].ToString();
            this.Name = row["ED_Name"].ToString();
            this.Description = row["ED_Description"] as string;
            this.Parent = row["ED_Parent"] as string;
            this.IsEnum = Convert.ToBoolean(row["ED_IsEnum"]);
        }
    }
}
